package test;

public class StringBuilddemo {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder("mnv");

        sb.append("a");
        sb.reverse();
        int length = sb.length();
        System.out.println(length);
        System.out.println(sb);
        String str = sb.toString();
        System.out.println(str);
    }
}
